package lt.ntec.danblog.server.core;

import lt.ntec.danblog.server.core.model.Comment;
import lt.ntec.danblog.server.core.validator.ValidationException;

public interface CommentService {

    void rateUpComment(Long id);

    void rateDownComment(Long id);

    void removeComment(Long id);

    void updateComment(Long id, String content) throws
            ValidationException;

    Long addComment(Long parentId, String content) throws
            ValidationException;
    
    Comment getComment(Long id);
}
